package com.moneywelcome.api;

import com.moneywelcome.dto.RiskResult;
import com.moneywelcome.results.Result;
import com.moneywelcome.vo.EventRequest;
import com.moneywelcome.vo.RiskVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(
        contextId = "riskApi",//服务名字
        value = "risk" // 区分不同client
)
public interface RiskApi {
    @PostMapping("uploadInfo")
    Result<RiskResult> uoloadInfo(@RequestBody RiskVo riskVo);
}
